<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>DISH LIST</title>
</head>
<body>
<table bordercolor="black" border="1" >
	<tr> 
	<td>dish id</td>
	<td>dish name</td> 
	<td>dish price</td>
	<td>dish check</td>
	<td>dish uncheck</td>
	</tr> 

	<c:forEach var="dish" items="${dishList}" >
			<tr>
				<td><c:out value="${dish.dishId}" default="" /></td>

				<td><c:out value="${dish.dishname}" default="" /></td>

				<td><c:out value="${dish.price}" default="" /></td>

				<td><a href="/lubqtest/dishCheck.do?dishId=<c:out value="${dish.dishId}"/>">check</a>
				</td>

				<td><a href="/lubqtest/dishUnCheck.do?dishId=<c:out value="${dish.dishId}"/>">unCheck</a>
				</td>
			</tr>
		</c:forEach> 

</table>
</body>
</html>